<?php
/**
 * The header for our theme
 *
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package GGPromarket
 */

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <title><?php the_title(); ?></title>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="profile" href="https://gmpg.org/xfn/11">
<!--    <script src="https://api-maps.yandex.ru/2.1/?apikey=f995437f-03a2-48ba-a815-92262155fffd&lang=ru_RU" type="text/javascript"></script>-->
    <?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<header class = "main-header">
    <div class = "wrapper">
        <nav class = "main-navigation">
            <ul class = "logo-list">
                <li class = "navigation-item navigation-main-logo">
                    <a
                        href = "<?php echo home_url('', 'https') ?>"
                        class = "navigation-item main-logo"
                    >
                        <img src =
                             "<?php echo get_stylesheet_directory_uri() . '/assets/img/svg/nerds-logo.svg'; ?>"
                             alt = "Логотип Nerd's" width = "160" height = "65">
                    </a>
                </li>
            </ul>
            <ul class = "navigation-list">
                <?php
                wp_nav_menu(
                  array(
                    'theme_location' => 'header-menu',
                    'container'      => '',
                    'menu_class'     => 'navigation-list',
                    'menu_id'        => '',
                    'items_wrap'     => '%3$s'
                  )
                )
                ?>
<!--                <li class = "navigation-item navigation-item-disabled"><a href = "#">Клиенты</a></li>-->
<!--                <li class = "navigation-item"><a href = "catalog">Магазин</a></li>-->
<!--                <li class = "navigation-item navigation-item-disabled"><a href = "#">Контакты</a></li>-->
            </ul>
            <ul class = "navigation-backet">
                <li class = "navigation-item navigation-backet-item navigation-item-disabled"><a href = "#">Корзина</a></li>
            </ul>
        </nav>